{% extends "base.html" %}

{% block title %}个人中心{% endblock %}

{% block content %}
<div class="container my-5">
    <div class="row">
        <div class="col-md-6 mx-auto">
            <div class="card">
                <div class="card-header bg-primary text-white">
                    <h4>个人信息</h4>
                </div>
                <div class="card-body">
                    <p><strong>用户名:</strong> {{ current_user.username }}</p>
                    <p><strong>邮箱:</strong> {{ current_user.email }}</p>
                    <p><strong>手机号:</strong> {{ current_user.phone }}</p>
                    <a href="{{ url_for('edit_profile') }}" class="btn btn-outline-primary w-100 mt-3">编辑资料</a>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}